import service from '../utils/request'

// 登录
export function patient_login(value){
    return service.get(`/postsgllone?userinfo.phone=${value.phone}&userinfo.pass=${value.pass}`);
}
// 注册
export function patient_register(params = {}){
    return service.post('/postsgllone', params );
}
// 角色列表获取
export function patient_update(params = {}){
    return service.get('/commentsgll', {params} );
}
// 数据总览列表获取
export function data_list(params = {}){
    return service.get('/postsglltwo', {params} );
}
// 柱状图列表获取
export function barchart_list(params = {}){
    return service.get('/barchart', {params} );
}
// 折线图列表获取
export function linechart_list(params = {}){
    return service.get('/linechart', {params} );
}
// 实时挂号列表获取
export function realregister_list(params = {}){
    return service.get('/realregister', {params} );
}
// 热门科室列表获取
export function hotoffice_list(params = {}){
    return service.get('/hotoffice', {params} );
}
// 热门医生列表获取
export function hotdoctor_list(params = {}){
    return service.get('/hotdoctor', {params} );
}